package cn.java.basic;

public class Loop
{
    public static void main(String[] args)
    {
        int nSum=0;
        for (int i = 0; i < 100; i++)
        {
            nSum+=i+1;
        }

        System.out.println("nSum="+nSum);
    }
}
